package com.itzh.strategy.pay.payport.impl;

import com.itzh.strategy.pay.PayState;
import com.itzh.strategy.pay.payport.Payment;

public class AliPay implements Payment {
    @Override
    public PayState pay(String uid, double amount) {
        System.out.println("欢迎使用支付宝");
        System.out.println("查询余额，开始扣款");
        return new PayState(200,"支付成功",amount);
    }
}
